<?php

require_once '../include/common.inc.php';
require_once '../include/upfile.class.php';

if (!checkAdmin()) {
    header("LOCATION:index.php");
    exit;
}

$menu_index = 4;
$page_title = 'JANSEN';
$guide_message = 'System | Content Picture';
$alert_message = '';

getMyParam('action');

$pic_ary = getSystemArray("");

if ($action == "update") {    
    
    // ͼƬϴ
    $file_name1 = '';
    if($_FILES['up_pic1']['size'] > 0 && trim($_FILES['up_pic1']['name']) != ""){
        $upfile = new uploadFile($_FILES['up_pic1']);
        $upfile->setFileName('J_A_OTHERPIC1_' . $timestamp);
        $upfile->setFileType(array('image/pjpeg', 'image/gif', 'image/jpeg'));
        $upfile->setAcceptOverwrite(0); 
        $upfile->setStoreDir(JANSEN_ROOT.'zh/attachments/system/');
        $upfile->setMaxSize(1024*1024*2);

        if (!$upfile->save()) {
            $alert_message .= "<br>" . $upfile->error_msg;
        }
        $file_name1 = $upfile->fileName;
	}
	
	$file_name2 = '';
	if($_FILES['up_pic2']['size'] > 0 && trim($_FILES['up_pic2']['name']) != ""){
		$upfile = new uploadFile($_FILES['up_pic2']);
		$upfile->setFileName('J_A_OTHERPIC2_' . $timestamp);
		$upfile->setFileType(array('image/pjpeg', 'image/gif', 'image/jpeg'));
		$upfile->setAcceptOverwrite(0);   //0:?ͬļ
		$upfile->setStoreDir(JANSEN_ROOT.'zh/attachments/system/');
		$upfile->setMaxSize(1024*1024*2);
		
		if (!$upfile->save()) {
			$alert_message .= "<br>" . $upfile->error_msg;
		}
		$file_name2 = $upfile->fileName;
	}
    
    $file_name3 = '';
    if($_FILES['up_pic3']['size'] > 0 && trim($_FILES['up_pic3']['name']) != ""){
        $upfile = new uploadFile($_FILES['up_pic3']);
        $upfile->setFileName('J_A_OTHERPIC3_' . $timestamp);
        $upfile->setFileType(array('image/pjpeg', 'image/gif', 'image/jpeg'));
        $upfile->setAcceptOverwrite(0);   //0:?ͬļ
        $upfile->setStoreDir(JANSEN_ROOT.'zh/attachments/system/');
        $upfile->setMaxSize(1024*1024*2);

        if (!$upfile->save()) {
            $alert_message .= "<br>" . $upfile->error_msg;
        }
        $file_name3 = $upfile->fileName;
    }
    
    $file_name4 = '';
    if($_FILES['up_pic4']['size'] > 0 && trim($_FILES['up_pic4']['name']) != ""){
        $upfile = new uploadFile($_FILES['up_pic4']);
        $upfile->setFileName('J_A_OTHERPIC4_' . $timestamp);
        $upfile->setFileType(array('image/pjpeg', 'image/gif', 'image/jpeg'));
        $upfile->setAcceptOverwrite(0);   //0:?ͬļ
        $upfile->setStoreDir(JANSEN_ROOT.'zh/attachments/system/');
        $upfile->setMaxSize(1024*1024*2);

        if (!$upfile->save()) {
            $alert_message .= "<br>" . $upfile->error_msg;
        }
        $file_name4 = $upfile->fileName;
    }
    
    $file_name5 = '';
    if($_FILES['up_pic5']['size'] > 0 && trim($_FILES['up_pic5']['name']) != ""){
        $upfile = new uploadFile($_FILES['up_pic5']);
        $upfile->setFileName('J_A_OTHERPIC5_' . $timestamp);
        $upfile->setFileType(array('image/pjpeg', 'image/gif', 'image/jpeg'));
        $upfile->setAcceptOverwrite(0);   //0:?ͬļ
        $upfile->setStoreDir(JANSEN_ROOT.'zh/attachments/system/');
        $upfile->setMaxSize(1024*1024*2);

        if (!$upfile->save()) {
            $alert_message .= "<br>" . $upfile->error_msg;
        }
        $file_name5 = $upfile->fileName;
	}
	
	$file_name_login = '';
	if($_FILES['up_pic_login']['size'] > 0 && trim($_FILES['up_pic_login']['name']) != ""){
		$upfile = new uploadFile($_FILES['up_pic_login']);
		$upfile->setFileName('J_A_OTHERPIC_Login_' . $timestamp);
		$upfile->setFileType(array('image/pjpeg', 'image/gif', 'image/jpeg'));
		$upfile->setAcceptOverwrite(0);   //0:?ͬļ
		$upfile->setStoreDir(JANSEN_ROOT.'zh/attachments/system/');
		$upfile->setMaxSize(1024*1024*2);
		
		if (!$upfile->save()) {
			$alert_message .= "<br>" . $upfile->error_msg;
		}
		$file_name_login = $upfile->fileName;
	} 
	
	$file_name_disclaimer = '';
	if($_FILES['up_pic_disclaimer']['size'] > 0 && trim($_FILES['up_pic_disclaimer']['name']) != ""){
		$upfile = new uploadFile($_FILES['up_pic_disclaimer']);
		$upfile->setFileName('J_A_OTHERPIC_Disclaimer_' . $timestamp);
		$upfile->setFileType(array('image/pjpeg', 'image/gif', 'image/jpeg'));
		$upfile->setAcceptOverwrite(0);   //0:?ͬļ
		$upfile->setStoreDir(JANSEN_ROOT.'zh/attachments/system/');
		$upfile->setMaxSize(1024*1024*2);
		
		if (!$upfile->save()) {
			$alert_message .= "<br>" . $upfile->error_msg;
		}
		$file_name_disclaimer = $upfile->fileName;
	}
	
	$file_name_privacy = '';
	if($_FILES['up_pic_privacy']['size'] > 0 && trim($_FILES['up_pic_privacy']['name']) != ""){
		$upfile = new uploadFile($_FILES['up_pic_privacy']);
		$upfile->setFileName('J_A_OTHERPIC_Privacy_' . $timestamp);
		$upfile->setFileType(array('image/pjpeg', 'image/gif', 'image/jpeg'));
		$upfile->setAcceptOverwrite(0);   //0:?ͬļ
		$upfile->setStoreDir(JANSEN_ROOT.'zh/attachments/system/');
		$upfile->setMaxSize(1024*1024*2);
		
		if (!$upfile->save()) {
			$alert_message .= "<br>" . $upfile->error_msg;
		}
		$file_name_privacy = $upfile->fileName;
	}
	
	$file_name_register = '';
	if($_FILES['up_pic_register']['size'] > 0 && trim($_FILES['up_pic_register']['name']) != ""){
		$upfile = new uploadFile($_FILES['up_pic_register']);
		$upfile->setFileName('J_A_OTHERPIC_Register_' . $timestamp);
		$upfile->setFileType(array('image/pjpeg', 'image/gif', 'image/jpeg'));
		$upfile->setAcceptOverwrite(0);   //0:?ͬļ
		$upfile->setStoreDir(JANSEN_ROOT.'zh/attachments/system/');
		$upfile->setMaxSize(1024*1024*2);
		
		if (!$upfile->save()) {
			$alert_message .= "<br>" . $upfile->error_msg;
		}
		$file_name_register = $upfile->fileName;
	}
	
	$file_name_search = '';
	if($_FILES['up_pic_search']['size'] > 0 && trim($_FILES['up_pic_search']['name']) != ""){
		$upfile = new uploadFile($_FILES['up_pic_search']);
		$upfile->setFileName('J_A_OTHERPIC_Search_' . $timestamp);
		$upfile->setFileType(array('image/pjpeg', 'image/gif', 'image/jpeg'));
		$upfile->setAcceptOverwrite(0);   //0:?ͬļ
		$upfile->setStoreDir(JANSEN_ROOT.'zh/attachments/system/');
		$upfile->setMaxSize(1024*1024*2);
		
		if (!$upfile->save()) {
			$alert_message .= "<br>" . $upfile->error_msg;
		}
		$file_name_search = $upfile->fileName;
	}
	
	$file_name_p1 = '';
	if($_FILES['up_pro_1']['size'] > 0 && trim($_FILES['up_pro_1']['name']) != ""){
		$upfile = new uploadFile($_FILES['up_pro_1']);
		$upfile->setFileName('J_A_OTHERPIC_P1_' . $timestamp);
		$upfile->setFileType(array('image/pjpeg', 'image/gif', 'image/jpeg'));
		$upfile->setAcceptOverwrite(0);   //0:?ͬļ
		$upfile->setStoreDir(JANSEN_ROOT.'zh/attachments/system/');
		$upfile->setMaxSize(1024*1024*2);
		
		if (!$upfile->save()) {
			$alert_message .= "<br>" . $upfile->error_msg;
		}
		$file_name_p1 = $upfile->fileName;
	}
	
	$file_name_p2 = '';
	if($_FILES['up_pro_2']['size'] > 0 && trim($_FILES['up_pro_2']['name']) != ""){
		$upfile = new uploadFile($_FILES['up_pro_2']);
		$upfile->setFileName('J_A_OTHERPIC_P2_' . $timestamp);
		$upfile->setFileType(array('image/pjpeg', 'image/gif', 'image/jpeg'));
		$upfile->setAcceptOverwrite(0);   //0:?ͬļ
		$upfile->setStoreDir(JANSEN_ROOT.'zh/attachments/system/');
		$upfile->setMaxSize(1024*1024*2);
		
		if (!$upfile->save()) {
			$alert_message .= "<br>" . $upfile->error_msg;
		}
		$file_name_p2 = $upfile->fileName;
	}
	
	$file_name_setting1 = '';
	if($_FILES['up_setting_1']['size'] > 0 && trim($_FILES['up_setting_1']['name']) != ""){
		$upfile = new uploadFile($_FILES['up_setting_1']);
		$upfile->setFileName('J_A_OTHERPIC_Setting1_' . $timestamp);
		$upfile->setFileType(array('image/pjpeg', 'image/gif', 'image/jpeg'));
		$upfile->setAcceptOverwrite(0);   //0:?ͬļ
		$upfile->setStoreDir(JANSEN_ROOT.'zh/attachments/system/');
		$upfile->setMaxSize(1024*1024*2);
		
		if (!$upfile->save()) {
			$alert_message .= "<br>" . $upfile->error_msg;
		}
		$file_name_setting1 = $upfile->fileName;
	}
	
	$file_name_setting2 = '';
	if($_FILES['up_setting_2']['size'] > 0 && trim($_FILES['up_setting_2']['name']) != ""){
		$upfile = new uploadFile($_FILES['up_setting_2']);
		$upfile->setFileName('J_A_OTHERPIC_Setting2_' . $timestamp);
		$upfile->setFileType(array('image/pjpeg', 'image/gif', 'image/jpeg'));
		$upfile->setAcceptOverwrite(0);   //0:?ͬļ
		$upfile->setStoreDir(JANSEN_ROOT.'zh/attachments/system/');
		$upfile->setMaxSize(1024*1024*2);
		
		if (!$upfile->save()) {
			$alert_message .= "<br>" . $upfile->error_msg;
		}
		$file_name_setting2 = $upfile->fileName;
	}
	
	$file_name_style1 = '';
	if($_FILES['up_style_1']['size'] > 0 && trim($_FILES['up_style_1']['name']) != ""){
		$upfile = new uploadFile($_FILES['up_style_1']);
		$upfile->setFileName('J_A_OTHERPIC2_Style1_' . $timestamp);
		$upfile->setFileType(array('image/pjpeg', 'image/gif', 'image/jpeg'));
		$upfile->setAcceptOverwrite(0);   //0:?ͬļ
		$upfile->setStoreDir(JANSEN_ROOT.'zh/attachments/system/');
		$upfile->setMaxSize(1024*1024*2);
		
		if (!$upfile->save()) {
			$alert_message .= "<br>" . $upfile->error_msg;
		}
		$file_name_style1 = $upfile->fileName;
	}
	
	$file_name_style2 = '';
	if($_FILES['up_style_2']['size'] > 0 && trim($_FILES['up_style_2']['name']) != ""){
		$upfile = new uploadFile($_FILES['up_style_2']);
		$upfile->setFileName('J_A_OTHERPIC2_Style2_' . $timestamp);
		$upfile->setFileType(array('image/pjpeg', 'image/gif', 'image/jpeg'));
		$upfile->setAcceptOverwrite(0);   //0:?ͬļ
		$upfile->setStoreDir(JANSEN_ROOT.'zh/attachments/system/');
		$upfile->setMaxSize(1024*1024*2);
		
		if (!$upfile->save()) {
			$alert_message .= "<br>" . $upfile->error_msg;
		}
		$file_name_style2 = $upfile->fileName;
	}
	
	$file_name_collection1 = '';
	if($_FILES['up_collection_1']['size'] > 0 && trim($_FILES['up_collection_1']['name']) != ""){
		$upfile = new uploadFile($_FILES['up_collection_1']);
		$upfile->setFileName('J_A_OTHERPIC_Collection1_' . $timestamp);
		$upfile->setFileType(array('image/pjpeg', 'image/gif', 'image/jpeg'));
		$upfile->setAcceptOverwrite(0);   //0:?ͬļ
		$upfile->setStoreDir(JANSEN_ROOT.'zh/attachments/system/');
		$upfile->setMaxSize(1024*1024*2);
		
		if (!$upfile->save()) {
			$alert_message .= "<br>" . $upfile->error_msg;
		}
		$file_name_collection1 = $upfile->fileName;
	}
	
	$file_name_collection2 = '';
	if($_FILES['up_collection_2']['size'] > 0 && trim($_FILES['up_collection_2']['name']) != ""){
		$upfile = new uploadFile($_FILES['up_collection_2']);
		$upfile->setFileName('J_A_OTHERPIC_Collection2_' . $timestamp);
		$upfile->setFileType(array('image/pjpeg', 'image/gif', 'image/jpeg'));
		$upfile->setAcceptOverwrite(0);   //0:?ͬļ
		$upfile->setStoreDir(JANSEN_ROOT.'zh/attachments/system/');
		$upfile->setMaxSize(1024*1024*2);
		
		if (!$upfile->save()) {
			$alert_message .= "<br>" . $upfile->error_msg;
		}
		$file_name_collection2 = $upfile->fileName;
	}
	
	//add by martin
	$file_name_locater = '';
	if($_FILES['up_showroomlocater']['size'] > 0 && trim($_FILES['up_showroomlocater']['name']) != ""){
		$upfile = new uploadFile($_FILES['up_showroomlocater']);
		$upfile->setFileName('J_A_OTHERPIC_Collection2_' . $timestamp);
		$upfile->setFileType(array('image/pjpeg', 'image/gif', 'image/jpeg'));
		$upfile->setAcceptOverwrite(0);   //0:?ͬļ
		$upfile->setStoreDir(JANSEN_ROOT.'zh/attachments/system/');
		$upfile->setMaxSize(1024*1024*2);
		
		if (!$upfile->save()) {
			$alert_message .= "<br>" . $upfile->error_msg;
		}
		$file_name_locater = $upfile->fileName;
	}
	
	$file_name_dealer = '';
	if($_FILES['up_becomedearler']['size'] > 0 && trim($_FILES['up_becomedearler']['name']) != ""){
		$upfile = new uploadFile($_FILES['up_becomedearler']);
		$upfile->setFileName('J_A_OTHERPIC_Collection2_' . $timestamp);
		$upfile->setFileType(array('image/pjpeg', 'image/gif', 'image/jpeg'));
		$upfile->setAcceptOverwrite(0);   //0:?ͬļ
		$upfile->setStoreDir(JANSEN_ROOT.'zh/attachments/system/');
		$upfile->setMaxSize(1024*1024*2);
		
		if (!$upfile->save()) {
			$alert_message .= "<br>" . $upfile->error_msg;
		}
		$file_name_dealer = $upfile->fileName;
	}
	
	$file_name_distribution = '';
	if($_FILES['up_pic_distributionzh']['size'] > 0 && trim($_FILES['up_pic_distributionzh']['name']) != ""){
		$upfile = new uploadFile($_FILES['up_pic_distributionzh']);
		$upfile->setFileName('J_A_OTHERPIC_distribution_' . $timestamp);
		$upfile->setFileType(array('image/pjpeg', 'image/gif', 'image/jpeg'));
		$upfile->setAcceptOverwrite(0);   //0:?ͬļ
		$upfile->setStoreDir(JANSEN_ROOT.'zh/attachments/system/');
		//echo JANSEN_ROOT.'zh/attachments/system/'."<br/>";
		$upfile->setMaxSize(1024*1024*2);
		
		if (!$upfile->save()) {
			$alert_message .= "<br>" . $upfile->error_msg;
		}
		$file_name_distribution = $upfile->fileName;
	}
    
    
    
    if ($file_name1 != "") {
        SetSystemtbValue('picture_other_about_us', $file_name1);
        $alert_message .= '<br>About Us picture update succeed.';
        delSystemPicture($pic_ary['picture_other_about_us']);
        $pic_ary['picture_other_about_us'] = $file_name1;
    }
    if ($file_name2 != "") {
        SetSystemtbValue('picture_other_photo_gallery', $file_name2);
        $alert_message .= '<br>Photo Gallery picture update succeed.';
        delSystemPicture($pic_ary['picture_other_photo_gallery']);
        $pic_ary['picture_other_photo_gallery'] = $file_name2;
    }
    if ($file_name3 != "") {
        SetSystemtbValue('picture_other_how_to_order', $file_name3);
        $alert_message .= '<br>How To Order picture update succeed.';
        delSystemPicture($pic_ary['picture_other_how_to_order']);
        $pic_ary['picture_other_how_to_order'] = $file_name3;
    }
    if ($file_name4 != "") {
        SetSystemtbValue('picture_other_links', $file_name4);
        $alert_message .= '<br>Links picture update succeed.';
        delSystemPicture($pic_ary['picture_other_links']);
        $pic_ary['picture_other_links'] = $file_name4;
	}
	
	if ($file_name5 != "") {
		SetSystemtbValue('picture_other_contactus', $file_name5);
		$alert_message .= '<br>Contact Us picture update succeed.';
		delSystemPicture($pic_ary['picture_other_contactus']);
		$pic_ary['picture_other_contactus'] = $file_name5;
	}
	
	if ($file_name_login != "") {
		SetSystemtbValue('picture_other_login', $file_name_login);
		$alert_message .= '<br>Login picture update succeed.';
		delSystemPicture($pic_ary['picture_other_login']);
		$pic_ary['picture_other_login'] = $file_name_login;
	}
	
	if ($file_name_disclaimer != "") {
		SetSystemtbValue('picture_other_disclaimer', $file_name_disclaimer);
		$alert_message .= '<br>Disclaimer picture update succeed.';
		delSystemPicture($pic_ary['picture_other_disclaimer']);
		$pic_ary['picture_other_disclaimer'] = $file_name_disclaimer;
	}
	
	if ($file_name_privacy != "") {
		SetSystemtbValue('picture_other_privacy', $file_name_privacy);
		$alert_message .= '<br>Privacy picture update succeed.';
		delSystemPicture($pic_ary['picture_other_privacy']);
		$pic_ary['picture_other_privacy'] = $file_name_privacy;
	}
	
	if ($file_name_register != "") {
		SetSystemtbValue('picture_other_register', $file_name_register);
		$alert_message .= '<br>Register picture update succeed.';
		delSystemPicture($pic_ary['picture_other_register']);
		$pic_ary['picture_other_register'] = $file_name_register;
	}
	
	if ($file_name_search != "") {
		SetSystemtbValue('picture_other_search', $file_name_search);
		$alert_message .= '<br>Search picture update succeed.';
		delSystemPicture($pic_ary['picture_other_search']);
		$pic_ary['picture_other_search'] = $file_name_search;
	}
	
	if ($file_name_p1 != "") {
		SetSystemtbValue('picture_other_product1', $file_name_p1);
		$alert_message .= '<br>Product picture1 update succeed.';
		delSystemPicture($pic_ary['picture_other_product1']);
		$pic_ary['picture_other_product1'] = $file_name_p1;
	}
	
	if ($file_name_p2 != "") {
		SetSystemtbValue('picture_other_product2', $file_name_p2);
		$alert_message .= '<br>Product picture2 update succeed.';
		delSystemPicture($pic_ary['picture_other_product2']);
		$pic_ary['picture_other_product2'] = $file_name_p2;
	}
	
	if ($file_name_setting1 != "") {
		SetSystemtbValue('picture_other_setting1', $file_name_setting1);
		$alert_message .= '<br>Product setting picture1 update succeed.';
		delSystemPicture($pic_ary['picture_other_setting1']);
		$pic_ary['picture_other_setting1'] = $file_name_setting1;
	}	
	if ($file_name_setting2 != "") {
		SetSystemtbValue('picture_other_setting2', $file_name_setting2);
		$alert_message .= '<br>Product setting picture2 update succeed.';
		delSystemPicture($pic_ary['picture_other_setting2']);
		$pic_ary['picture_other_setting2'] = $file_name_setting2;
	}	
	
	if ($file_name_style1 != "") {
		SetSystemtbValue('picture_other_style1', $file_name_style1);
		$alert_message .= '<br>Product style picture1 update succeed.';
		delSystemPicture($pic_ary['picture_other_style1']);
		$pic_ary['picture_other_style1'] = $file_name_style1;
	}	
	if ($file_name_style2 != "") {
		SetSystemtbValue('picture_other_style2', $file_name_style2);
		$alert_message .= '<br>Product style picture2 update succeed.';
		delSystemPicture($pic_ary['picture_other_style2']);
		$pic_ary['picture_other_style2'] = $file_name_style2;
	}	
	
	if ($file_name_collection1 != "") {
		SetSystemtbValue('picture_other_collection1', $file_name_collection1);
		$alert_message .= '<br>Product collection picture1 update succeed.';
		delSystemPicture($pic_ary['picture_other_collection1']);
		$pic_ary['picture_other_collection1'] = $file_name_collection1;
	}	
	if ($file_name_collection2 != "") {
		SetSystemtbValue('picture_other_collection2', $file_name_collection2);
		$alert_message .= '<br>Product collection picture2 update succeed.';
		delSystemPicture($pic_ary['picture_other_collection2']);
		$pic_ary['picture_other_collection2'] = $file_name_collection2;
	}
	//add by martin
	if ($file_name_locater != "") {
		SetSystemtbValue('picture_showroomlocater', $file_name_locater,$file_name_locater);
		$alert_message .= '<br>Product showroom locater picture update succeed.';
		delSystemPicture($pic_ary['picture_showroomlocater']);
		$pic_ary['picture_showroomlocater'] = $file_name_locater;
	}
	
	if ($file_name_dealer != "") {
		SetSystemtbValue('picture_becomedealer', $file_name_dealer,$file_name_dealer);
		$alert_message .= '<br>Product  become dealer update succeed.';
		delSystemPicture($pic_ary['picture_becomedealeren']);
		$pic_ary['picture_becomedealeren'] = $file_name_dealer;
	}
	
	if ($file_name_distribution != "") {
		SetSystemtbValue('picture_distribution', $file_name_distribution,$file_name_distribution);
		$alert_message .= '<br>Product  become dealer update succeed.';
		delSystemPicture($pic_ary['picture_distribution']);
		$pic_ary['picture_distributionzh'] = $file_name_distribution;
	}
	
}

$pic1 = $pic_ary['picture_other_about_usen'];
$pic2 = $pic_ary['picture_other_photo_galleryen'];
$pic3 = $pic_ary['picture_other_how_to_orderen'];
$pic4 = $pic_ary['picture_other_linksen'];
$pic5 = $pic_ary['picture_other_contactusen'];
$pic_login = $pic_ary['picture_other_loginen'];
$pic_disclaimer = $pic_ary['picture_other_disclaimeren'];
$pic_privacy = $pic_ary['picture_other_privacyen'];
$pic_register = $pic_ary['picture_other_registeren'];
$pic_search = $pic_ary['picture_other_searchen'];
$pro_pic1 = $pic_ary['picture_other_product1en'];
$pro_pic2 = $pic_ary['picture_other_product2en'];
$setting_pic1 = $pic_ary['picture_other_setting1en'];
$setting_pic2 = $pic_ary['picture_other_setting2en'];
$style_pic1 = $pic_ary['picture_other_style1en'];
$style_pic2 = $pic_ary['picture_other_style2en'];
$collection_pic1 = $pic_ary['picture_other_collection1en'];
$collection_pic2 = $pic_ary['picture_other_collection2en'];

$showroomlocater = $pic_ary['picture_showroomlocateren'];
$becomedearler = $pic_ary['picture_becomedealeren'];

$pic_distributionzh=$pic_ary['picture_distributionzh'];


$debug = 1;
debuginfo();

include_once(JANSEN_ROOT . 'admin/menu_list.php');
require_once PrintEot('a_header');
require_once PrintEot('a_s_otherset');
require_once PrintEot('a_footer');

?>